package com.zysf.library_boot.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zysf.library_boot.dto.LendDto;
import com.zysf.library_boot.entity.LendList;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

/**
* @author 31161
* @description 针对表【lend_list(借阅记录（谁在何时借走了什么书，并且有没有归还，归还时间多少）)】的数据库操作Service
* @createDate 2024-12-16 16:51:22
*/
public interface LendListService extends IService<LendList> {
    IPage<LendDto> getCustomLendList(Page<LendDto> page, @Param("readerid") String readerid, @Param("bookid") String bookid, @Param("backtype") Integer backtype);

    int deleteLendListById(Integer id);

    boolean addLendList(LendList lendList);
}
